﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace BasicMVVMCommand
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            LoginViewModel vm = new LoginViewModel();
            vm.User = new UserLogin { Login = "jaime" };
            Window1 w = new Window1();
            w.DataContext = vm; 
            w.ShowDialog();
           // App.Current.Run(w); 

        }
    }
}
